package log

import (
	aactor "github.com/asynkron/protoactor-go/actor"
	
	kadefine "kiwi/actor/define"
)

var (
	//actorSystemOnce sync.Once
	actorSystem = aactor.NewActorSystem()
)

func rootContext() *kadefine.RootContext {
	//if actorSystem == nil {
	//	actorSystemOnce.Do(func() {
	//		actorSystem = aactor.NewActorSystem()
	//	})
	//}
	return actorSystem.Root
}
